package com.sf.springboottest.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloWorldController {
    @RequestMapping("/hello")
    public String index() {
        return "Hello World,SringBoot!";
    }
    @RequestMapping("/hotdeployment")
    public String hotdeployment() {
        return "Hello, hot deployment!";
    }
}